<style scoped src="./index.scss" lang="scss" rel="stylesheet/scss"></style>
<template src="./index.html"></template>
<script>
export default {
    mixins: [Vue.prototype.$vFN.Mixins.Base],
    components: {
        SelectDateCycleApplication: async () =>
            Vue.extend(
                await Vue.prototype.$vFN.Components.Base.SelectDateCycleApplication()
            ),
    },
    computed: {},
    data() {
        return {
            appWindow: window,

            dateCycleApplication: [], // 已有的数据
        };
    },
    methods: {
        
        deleteData (_index) {
          // console.log('删除')
          //   console.log(_index)
            this.value.splice(_index,1)
        },
       
        
        openBox(index) {
            // 选择 适用日期
            this.$vFN.Directives.SelectDateCycleApplication({
                index: index,
                list: this.dateCycleApplication,
                onSuccess: (res) => {
                    console.error("res", res);
                    this.dateCycleApplication = res.list;
                },
            });
        },
    },
    mounted() {},
    activated() {},
};
</script>